package com.flycat.common.enumeration;

/**
 * @Author yalei.chen
 * @Date 2017/10/4
 * @Since JDK 1.8
 */
public enum SysRoleEnum {

    ADMIN(1, "平台方"),
    SUPPLIER(2, "供应商"),
    DISTRIBUTOR(3, "分销商"),
    USER(4, "用户"),
    ;

    private int code;

    private String msg;

    SysRoleEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
